package com.hp.siminterface.webservice.impl;

import java.util.List;

import com.hp.siminterface.domain.HPUXPhysicalVolume;
import com.hp.siminterface.persistence.HPUXPhysicalVolumeMapper;
import com.hp.siminterface.webservice.HPUXPhysicalVolumeService;

public class HPUXPhysicalVolumeServiceImpl implements HPUXPhysicalVolumeService {
	private HPUXPhysicalVolumeMapper hpuxPhysicalVolumeMapper;

	@Override
	public HPUXPhysicalVolume[] getHPUXPhysicalVolumeInfo() {
		List<HPUXPhysicalVolume> hpuxPhysicalVolumes = hpuxPhysicalVolumeMapper
				.selectHPUXPhysicalVolume();
		HPUXPhysicalVolume[] hpuxPhysicalVolumeArray = new HPUXPhysicalVolume[hpuxPhysicalVolumes
				.size()];
		int i = 0;
		for (HPUXPhysicalVolume hpuxPhysicalVolume : hpuxPhysicalVolumes) {
			hpuxPhysicalVolumeArray[i] = hpuxPhysicalVolume;
			i++;
		}
		return null;
	}

	public void setHpuxPhysicalVolumeMapper(
			HPUXPhysicalVolumeMapper hpuxPhysicalVolumeMapper) {
		this.hpuxPhysicalVolumeMapper = hpuxPhysicalVolumeMapper;
	}

}
